import type { ISearchParams, ISearchlist } from '@/types/search'
import { http, instance } from '@/utils/request'

/**
 * 获取搜索页面列表数据
 * @param params 请求参数
 * @returns Promise
 */
export const reqSearchList=(params:ISearchParams)=>{
    return http<ISearchlist>("/api/list","POST",params)
}